package com.example.springbootzuoye;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import tk.mybatis.spring.annotation.MapperScan;

@SpringBootApplication
//在 主类（启动类）上添加 @MapperScan注解，并指定dao层接口的包路径,在编译之后会自动生成相应的接口实现类。
@MapperScan("com.example.springboot20221222.dao")
public class SpringbootApplication {

    public static void main(String[] args) {
        SpringApplication.run(SpringbootApplication.class, args);
    }

}
